package com.lagou.edu.service;

import org.springframework.stereotype.Service;


@Service
public class LoginService {
    /**
     * 默认用户zlz 密码zlz 验证则通过
     * @param username
     * @param password
     * @return
     */
    public boolean login(String username,String password){
        if("admin".equals(username) && "admin".equals(password)){
            return true;
        }
        return false;
    }
}
